#ifndef __Motor_H
#define __Motor_H
#include "stdint.h"   //声明uint8_t时，要在头文件加上这一行


void Motor_SetSpeed(uint8_t Speed);
void Motor_Init(void);

void Speed_left1(uint16_t Compare);
void Speed_left2( uint8_t Dir ,uint16_t Compare);
void Speed_right1(uint16_t Compare);
void Speed_right2(uint8_t Dir,uint16_t Compare);
void motor_ahead(uint16_t Speed);
void motor_stop(void);
void motor_turnright(uint16_t Speed);


#endif

